Generate the S2 MAC (Approved Unlinked Load)

 

Command:

Generate the S2 MAC for unlinked load transactions.

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “V2”

*KML

32 H or 1A+32H

Double length KML encrypted under LMK pair 20-21 variant 1

IDCEP

6 B

The CEP Card Identifier. Used to create the *KDL

NTCEP

2 B

The transaction number assigned by the Load Acquirer

Updates Length

2 N

Length in bytes of the UPDATESISS field

CCISS

2 B

Completion Code

TI

1 B

Transaction Indicator
‘0C’ for
unlinked load transactions

S1

8 B

S1 Signature

BALISS

4 B

Balance of CEP card

BALmaxISS

4 B

Maximum balance of the target slot

CALPHAISS

3 B

Alphanumeric representation of the currency code for this slot

HLSAM

8 B

Left 8 bytes from SHA-1 hash of IDLACQ,IDLDA,IDISS,IDCEP,NTCEP,RLSAM

UPDATESISS

0 - 24 B

Updates to CEP card data

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

 

 

 

Field

Length & Type

Details

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “V3”

Error Code

2 N

00 – No error.

10 – KML parity error

12 – No keys loaded in user storage

13 – LMK error - report to Supervisor

15 – Error in input data

21 – Invalid user storage index

70 – Invalid transaction indicator

71 – Invalid Updates Length

  

S2

8 B

Generated Signature

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters